//
//  JoinInPersonCell.m
//  MJApp
//
//  Created by John on 15/5/23.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "JoinInPersonCell.h"
@interface JoinInPersonCell()
@property (weak, nonatomic) IBOutlet UIImageView *image;

@end
@implementation JoinInPersonCell

- (void)awakeFromNib {
    // Initialization code
    self.image.layer.borderColor = [UIColor grayColor].CGColor;
    self.image.layer.borderWidth = 0.5;
    
    self.image.layer.cornerRadius = 18.5;
    self.image.clipsToBounds = YES;
}

- (void)setInfoDic:(NSDictionary *)infoDic {
    
    _infoDic = infoDic;
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kUrl,infoDic[@"head"]]];
    [self.image sd_setImageWithURL:url placeholderImage:self.image.image];
}

@end
